package controladores;

import org.zkoss.zk.ui.Component;
import org.zkoss.zk.ui.Executions;
import org.zkoss.zk.ui.event.MouseEvent;
import org.zkoss.zk.ui.select.SelectorComposer;
import org.zkoss.zk.ui.select.annotation.Listen;
import org.zkoss.zk.ui.select.annotation.Wire;
import org.zkoss.zkex.zul.Fisheye;
import org.zkoss.zkex.zul.Fisheyebar;
import org.zkoss.zul.Checkbox;

public class controladorPrincipal extends SelectorComposer<Component> {
	
	 /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Wire
	 Fisheye RegistrarAviso;
	@Wire
	 Fisheye RegistrarCiudad;
	@Wire
	 Fisheye RegistrarArea;
	@Wire
	 Fisheye RegistrarRequerimientos;
	@Wire
	 Fisheye RegistrarNivelInst;
	@Wire
	 Fisheye RegistrarSugerencia;
	
	
	@Listen("onCheck=#RegistrarAviso")
	public void onCheck$RegistrarAviso(MouseEvent event){
		
		//Executions.sendRedirect(".zul");
	}
	 
	 @Listen("onClick=#RegistrarCiudad")
		public void onClick$RegistrarCiudad(MouseEvent event){
		 
				Executions.sendRedirect("registrarCiudad.zul");
	}
	 
	 @Listen("onClick=#RegistrarArea")
		public void onClick$RegistrarArea(MouseEvent event){
		 
				Executions.sendRedirect("registrararea.zul");	 
	}
	 
	 @Listen("onClick=#RegistrarRequerimientos")
		public void onClick$RegistrarRequerimientos(MouseEvent event){
		 
				Executions.sendRedirect("requerimiento.zul");	 
	}
	 
	 @Listen("onClick=#RegistrarNivelInst")
		public void onClick$RegistrarNivelInst(MouseEvent event){
		 
				Executions.sendRedirect("niveldeinstruccion.zul");	 
	}
	 
	 @Listen("onClick=#RegistrarSugerencia")
		public void onClick$RegistrarSugerencia(MouseEvent event){
		 
				//Executions.sendRedirect("registrararea.zul");	 
	}
		

}
